<?php echo $header;?>
<div id="column-right">
	<form action="<?php echo $action_searchuser;?>" method="post" enctype="multiple/form-data" >
					<div class="box" >
					<input type="hidden" name="user_id" value="<?php echo $user_id;?>"/>
					<div class="box-heading">找人</div>
					<div class="box-content"><input name="searchusername" type="text"></input></div>
					<div class="box-content"><input type="submit" value="搜索"/></div>
					</div>
					</form>
</div>
<div id="content">
<?php 
	if(isset($allusers)){
		$colum=0;
		foreach($allusers as $user){
		
		if($user['user_id']!=$user_id){
			?>
			<tr>
			<div class="box">
			<div class="box-heading"><?php echo $user["nickname"];?></div>
			<div class="box-content">
			<a href="<?php echo $checkplan.$user["user_id"];?>" class="button"><span>查看计划</span>
			<?php if(!in_array($user['user_id'],$allfriends)){ ?>
				<a href="<?php echo $addfriend.$user["user_id"];?>" class="button"><span>加为好友</span>
			<?php }?>
			</a></div>
			</div>
			</tr>
			<?php
		}
		}
		
	}
?>

<div class="pagination"><?php echo $pagination; ?></div>

</div>
<?php echo $footer;?>
